(()=>{"use strict";var e={41515:(e,t,o)=>{o.d(t,{id:()=>a});const a="87b02f146f93b55db2d020775012da15"},83872:(e,t,o)=>{o.d(t,{Z:()=>d});var a=o(9887),r=o.n(a),n=o(59851),s=o.n(n),l=o(96977),c=function(e){var t,o={id:"4"};return r()(t=s()(e)).call(t,(function(t){o[t]=e[t]()})),o},i=[{path:"*",component:(0,l.default)({resolved:{},chunkName:()=>"pages-index",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!o.m[t]},importAsync:function(){return Promise.all([o.e(793),o.e(769)]).then(o.bind(o,83686))},requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return o(t)},resolve(){return 83686}}),id:o(41515).id}];const d=i},5763:(e,t,o)=>{o.d(t,{Z:()=>a});o(9887),o(59851);const a=o(83872).Z},629:(e,t,o)=>{o.r(t),o.d(t,{default:()=>T,render:()=>L});o(51810);var a=o(13090);var r=o(15700),n=o.n(r),s=o(18267),l=o.n(s),c=o(19963),i=o.n(c),d=o(32383),u=o(38791),A=o(31386),f=o(93862),_=o(78158);var p=o(27127),h=o(22169),m=o.n(h),E=(o(3991),o(80035),o(84940));const g=e=>{let{Component:t}=e;return(0,E.jsx)(t,{})};g.getInitialProps=async e=>{let{ctx:t}=e;t&&await(0,p.x)({lng:t.LvLocale.locale,resources:t.app[t.app.config.starling.cacheKey]||{}})};const L=async e=>{const{renderer:t,RootComponent:o,container:r,callback:s}=e;window.LV_WEB_VERSION="1.0.0.1697",await async function(e){var t,o,a;const r=new _.uL({locale:e,countryCode:window.__locationCountryCode,getBrowserLang:()=>window.navigator.language,cookieGetter:n()(t=f.Z.get).call(t,f.Z),cookieSetter:n()(o=f.Z.set).call(o,f.Z)}),s=l()(a=r.getSupportLocales()).call(a,(e=>e.locale));return new(i())((e=>d.ZP.use((0,u.CC)({loadOptions:{apiKey:"f6b7a750496f11eaacd567482798e876",namespace:["WebClient"],mode:"normal",TEAChannelDomain:"",zoneHost:"https://starling-oversea.byteoversea.com",timeout:8e3},simpleLoad:!0,on:{done:t=>e(t)},fallbackTexts:{}})).use(A.p6).init({lng:r.getCurrentLocale(),supportedLngs:s,fallbackLng:["en"],thirdParamFallback:!0})))}(m().get(window,"LOCALE_SSR")),await(async()=>{try{if("undefined"==typeof __locationCountryCode){const{data:e}=await a.U.getLocation();window.__locationCountryCode=e.code}}catch(e){}})(),document.body.setAttribute("arco-theme","dark"),function(e,t){const o=new Image;o.onload=function(){const e=o.width>0&&o.height>0;t(e)},o.onerror=function(){t(!1)},o.src=`data:image/webp;base64,${{lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",animation:"UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"}[e]}`}("lossy",(e=>{e?document.body.classList.add("webp-supported"):document.body.classList.add("no-webp")})),t(o,r,s)},T=g},64081:(e,t,o)=>{o(51810);var a=o(75607);var r=o(78158),n=o(84940);const s=e=>{let{locale:t="en"}=e;return(0,n.jsxs)("html",{lang:t,children:[(0,n.jsxs)("head",{children:[(0,n.jsx)(a.L,{}),(0,n.jsx)("meta",{name:"screen-orientation",content:"portrait"}),(0,n.jsx)("meta",{name:"x5-orientation",content:"portrait"}),(0,n.jsx)("meta",{name:"format-detection",content:"telephone=no"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1, maximum-scale=1, minimal-ui, viewport-fit=cover"}),(0,n.jsx)("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),(0,n.jsx)("meta",{name:"google-site-verification",content:"XsRoLMp_tsxz7zDkM534lYi2tJWLJAt46E0EZC9j_24"}),(0,n.jsx)("link",{rel:"icon",href:"//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/lv_web.ico",type:"image/x-icon"}),(0,n.jsx)("style",{type:"text/css",children:"\n body {\n background-color: var(--color-white)\n }\n\n body,html {\n font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;\n margin: 0;\n padding: 0\n }\n\n a {\n color: inherit;\n text-decoration: none\n }\n\n * {\n box-sizing: border-box\n }\n\n @font-face {\n font-family: SF Pro;\n font-style: normal;\n src: url(//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/ies/lvweb_os_monorepo/articleSSG/font/SF-Pro-Display-Regular.fe3fcdae.otf)\n }\n\n @font-face {\n font-family: SF Pro Bold;\n font-style: normal;\n font-weight: 800;\n src: url(//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/ies/lvweb_os_monorepo/articleSSG/font/SF-Pro-Display-Bold.cf0c80c7.otf)\n }\n\n @font-face {\n font-family: SF Pro Heavy;\n font-style: normal;\n src: url(//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/ies/lvweb_os_monorepo/articleSSG/font/SF-Pro-Display-Heavy.c42c6e65.otf)\n }\n\n @font-face {\n font-family: Albert Sans ExtraBold;\n font-style: normal;\n font-weight: 800;\n font-display: swap;\n src: url(//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/font/AlbertSans-ExtraBold.ttf);\n }\n\n @font-face {\n font-family: Albert Sans Bold;\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/font/AlbertSans-Bold.ttf);\n }\n\n @font-face {\n font-family: Albert Sans SemiBold;\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/font/AlbertSans-SemiBold.ttf);\n }\n\n @font-face {\n font-family: Albert Sans Medium;\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/font/AlbertSans-Medium.ttf);\n }\n\n @font-face {\n font-family: Albert Sans Regular;\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(//lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/font/AlbertSans-Regular.ttf);\n }\n\n @media(min-width: 1920px) {\n html {\n font-size:192px\n }\n }\n\n @media(max-width: 1920px)and (min-width:1440px) {\n html {\n font-size:10vw\n }\n }\n\n @media(max-width: 1440px)and (min-width:1200px) {\n html {\n font-size:144px\n }\n }\n\n @media(max-width: 1200px)and (min-width:920px) {\n html {\n font-size:12vw\n }\n }\n\n @media(max-width: 920px)and (min-width:560px) {\n html {\n font-size:10vw\n }\n }\n\n @media(max-width: 560px) {\n html {\n font-size:10vw\n }\n }\n"}),(0,n.jsx)("script",{async:!0,defer:!0,src:"https://accounts.google.com/gsi/client"}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n \n gtag('consent', 'default', {\n 'ad_storage': 'denied',\n 'analytics_storage': 'denied'\n });\n "}}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-PFCSPKZ');"}})]}),(0,n.jsxs)("body",{"arco-theme":"dark","lv-theme":"dark",children:[(0,n.jsx)(a.R,{}),(0,n.jsx)(a.S,{})]})]})};s.getInitialProps=e=>{if(e)return{locale:r.uL.getLocalPrefix(e.pathname)||"en"}}},27127:(e,t,o)=>{o.d(t,{x:()=>r});var a=o(32383);async function r(){let{lng:e="en",resources:t={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await a.oc.init({lng:e,resources:t,debug:!1,fallbackLng:["en"],thirdParamFallback:!0,initImmediate:!0})}},13090:(e,t,o)=>{o.d(t,{U:()=>f});var a=o(19963),r=o.n(a),n=o(18226),s=o.n(n),l=o(32383),c=o(59956),i=o(65693),d=o(58740);const u={baseURL:"/lv/v1/user",method:"POST",headers:{loc:c.y.CHANNEL,lan:l.ZP.language||c.y.LAN,pf:c.y.APP_PF,appvr:c.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":c.y.APP_SDK_VERSION},params:{}},A=s().create(u);A.interceptors.request.use((e=>{const{pf:t,appvr:o,tdid:a}=u.headers;return e.headers={...e.headers,...(0,d.O)({url:`${e.baseURL}${e.url}`,pf:t,appvr:o,tdid:a})},e})),A.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?r().resolve(t):r().reject(e)}return r().reject(e)})),(0,i.Z)(A,{retries:5,resetTimeout:!0,retryDelay:1e3,isRetry:()=>!0});const f={getLocation:async()=>await A({url:"/web/get_location",data:{}})}},65693:(e,t,o)=>{o.d(t,{R:()=>m,Z:()=>P});var a=o(67398),r=o.n(a),n=o(27766),s=o.n(n),l=o(90151),c=o.n(l),i=o(19963),d=o.n(i),u=o(39786),A=o.n(u),f=o(68793),_=o.n(f),p=o(14398);const h=new(o.n(p)())(["ENOTFOUND","ENETUNREACH","UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_CRL","UNABLE_TO_DECRYPT_CERT_SIGNATURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","CERT_SIGNATURE_FAILURE","CRL_SIGNATURE_FAILURE","CERT_NOT_YET_VALID","CERT_HAS_EXPIRED","CRL_NOT_YET_VALID","CRL_HAS_EXPIRED","ERROR_IN_CERT_NOT_BEFORE_FIELD","ERROR_IN_CERT_NOT_AFTER_FIELD","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD","OUT_OF_MEM","DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","CERT_CHAIN_TOO_LONG","CERT_REVOKED","INVALID_CA","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","CERT_UNTRUSTED","CERT_REJECTED","HOSTNAME_MISMATCH"]);const m="custom-axios-retry",E=["get","head","options"],g=r()(E).call(E,["put","delete"]);function L(e){const t=e?.[m]||{canRetry:!0};return t.retryCount=t.retryCount||0,t}const T=()=>0;function C(e){return!e.response&&Boolean(e.code)&&"ECONNABORTED"!==e.code&&function(e){return!h.has(e&&e.code)}(e)}function y(e){return C(e)||function(e){return!!e.config&&function(e){return"ECONNABORTED"!==e.code&&(!e.response||e.response.status>=500&&e.response.status<=599)}(e)&&-1!==s()(g).call(g,e.config.method)}(e)}function P(e,t){return e.interceptors.request.use((e=>{const t=L(e);return t.lastRequestTime=c()(),e[m]=t,e})),e.interceptors.response.use(void 0,(o=>{const{config:a}=o;if(!a)return d().reject(o);const{retries:r=5,isRetry:n=y,retryDelay:s=T,resetTimeout:l=!1}=A()({},t,a?.[m]),i=L(a);if(n(o)&&i.canRetry&&(-1===r||i.retryCounte],new(d())((o=>_()((()=>o(e(a))),t)))}return d().reject(o)})),e}},58740:(e,t,o)=>{o.d(t,{O:()=>i});var a=o(90151),r=o.n(a),n=o(52876),s=o.n(n),l=o(98498),c=o.n(l);function i(e){let{url:t,pf:o,appvr:a,tdid:n}=e;const l=Math.floor(r()()/1e3);return{sign:c()(`9e2c|${s()(t).call(t,-7)}|${o}|${a}|${l}|${n}|11ac`).toLowerCase(),"device-time":l}}},47839:(e,t,o)=>{o.d(t,{zE:()=>c,gE:()=>i,JA:()=>d,Gp:()=>u});var a,r=o(49702),n=o.n(r),s=o(42147),l=o.n(s);const c={German:{key:"de-DE",pathPrefix:"de-de",disable:!1,matcher:/^de/,text:"Deutsch"},English:{key:"en",pathPrefix:"",disable:!1,matcher:/^en/,text:"English"},Spanish:{key:"es-LA",pathPrefix:"es-es",disable:!1,matcher:/^es/,text:"Espa\xf1ol"},French:{key:"fr-FR",pathPrefix:"fr-fr",disable:!1,matcher:/^fr/,text:"Fran\xe7ais"},Portuguese:{key:"pt-BR",pathPrefix:"pt-br",disable:!1,matcher:/^pt/,text:"Portugu\xeas"},Turkey:{key:"tr-TR",pathPrefix:"tr-tr",disable:!1,matcher:/^tr/,text:"T\xfcrk\xe7e"},Japan:{key:"ja-JP",pathPrefix:"ja-jp",disable:!1,matcher:/^jp/,text:"\u65e5\u672c\u8a9e"},Korea:{key:"ko-KR",pathPrefix:"ko-kr",disable:!1,matcher:/^kr/,text:"\ud55c\uad6d\uc5b4"}},i=n()(a=l()(c)).call(a,((e,t)=>(t.pathPrefix&&(e[t.key]=t.pathPrefix),e)),{}),d={BR:{locale:c.Portuguese,useBrowserLang:!1},MZ:{locale:c.Portuguese,useBrowserLang:!1},AO:{locale:c.Portuguese,useBrowserLang:!1},PT:{locale:c.Portuguese,useBrowserLang:!1},GW:{locale:c.Portuguese,useBrowserLang:!1},TL:{locale:c.Portuguese,useBrowserLang:!1},GQ:{locale:c.Spanish,useBrowserLang:!0},CV:{locale:c.Portuguese,useBrowserLang:!1},ST:{locale:c.Portuguese,useBrowserLang:!1},MX:{locale:c.Spanish,useBrowserLang:!1},CO:{locale:c.Spanish,useBrowserLang:!1},ES:{locale:c.Spanish,useBrowserLang:!1},AR:{locale:c.Spanish,useBrowserLang:!1},PE:{locale:c.Spanish,useBrowserLang:!1},VE:{locale:c.Spanish,useBrowserLang:!1},CL:{locale:c.Spanish,useBrowserLang:!1},EC:{locale:c.Spanish,useBrowserLang:!1},GT:{locale:c.Spanish,useBrowserLang:!1},CU:{locale:c.Spanish,useBrowserLang:!1},BO:{locale:c.Spanish,useBrowserLang:!1},DO:{locale:c.Spanish,useBrowserLang:!1},HN:{locale:c.Spanish,useBrowserLang:!1},PY:{locale:c.Spanish,useBrowserLang:!1},SV:{locale:c.Spanish,useBrowserLang:!1},NI:{locale:c.Spanish,useBrowserLang:!1},CR:{locale:c.Spanish,useBrowserLang:!1},PA:{locale:c.Spanish,useBrowserLang:!1},UY:{locale:c.Spanish,useBrowserLang:!1},DE:{locale:c.German,useBrowserLang:!1},AT:{locale:c.German,useBrowserLang:!1},LI:{locale:c.German,useBrowserLang:!1},CH:{locale:c.German,useBrowserLang:!0},LT:{locale:c.German,useBrowserLang:!0},CD:{locale:c.French,useBrowserLang:!1},FR:{locale:c.French,useBrowserLang:!1},CA:{locale:c.French,useBrowserLang:!1},MG:{locale:c.French,useBrowserLang:!1},CM:{locale:c.French,useBrowserLang:!1},CI:{locale:c.French,useBrowserLang:!1},BF:{locale:c.French,useBrowserLang:!1},NE:{locale:c.French,useBrowserLang:!1},SN:{locale:c.French,useBrowserLang:!1},ML:{locale:c.French,useBrowserLang:!1},RW:{locale:c.French,useBrowserLang:!1},BE:{locale:c.French,useBrowserLang:!1},HT:{locale:c.French,useBrowserLang:!1},TD:{locale:c.French,useBrowserLang:!1},CN:{locale:c.French,useBrowserLang:!1},BI:{locale:c.French,useBrowserLang:!1},BJ:{locale:c.French,useBrowserLang:!1},TG:{locale:c.French,useBrowserLang:!1},CF:{locale:c.French,useBrowserLang:!1},CG:{locale:c.French,useBrowserLang:!1},GA:{locale:c.French,useBrowserLang:!1},KM:{locale:c.French,useBrowserLang:!1},DJ:{locale:c.French,useBrowserLang:!1},VU:{locale:c.French,useBrowserLang:!1},SC:{locale:c.French,useBrowserLang:!1},MC:{locale:c.French,useBrowserLang:!1},JP:{locale:c.Japan,useBrowserLang:!1},KR:{locale:c.Korea,useBrowserLang:!1},KP:{locale:c.Korea,useBrowserLang:!1},TR:{locale:c.Turkey,useBrowserLang:!1},TRNC:{locale:c.Turkey,useBrowserLang:!1},CY:{locale:c.Turkey,useBrowserLang:!1}},u="es-ES"},59956:(e,t,o)=>{o.d(t,{y:()=>a});const a={APP_NAME:"cc_web",APP_ID:"348188",APP_PF:"7",CHANNEL:"va",LAN:"en",B_ID:"cc_web",VERSION:"5.8.0",APP_SDK_VERSION:"48.0.0",USER_AGREEMENT:"",PRIVACY_POLICY:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";switch(e){case"tr-TR":return"https://sf19-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_privacy_policy_tr.html";case"ko-KR":return"https://sf19-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_privacy_policy_kr.html";case"pt-BR":return"https://sf19-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_privacy_policy_br.html";case"es-LA":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_privacy_policy_es.html";case"fr-FR":return"https://sf19-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_privacy_policy_fr.html";case"de-DE":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_privacy_policy_de.html";default:return"https://sf21-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_privacy_policy_en.html"}},GOOGLE_PRIVACY_POLICY:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";switch(e){case"tr-TR":return"https://marketingplatform.google.com/about/analytics/terms/tr/";case"ko-KR":return"https://marketingplatform.google.com/about/analytics/terms/kr/";case"ja-JP":return"https://marketingplatform.google.com/about/analytics/terms/jp/";case"pt-BR":return"https://marketingplatform.google.com/about/analytics/terms/br/";case"es-LA":return"https://marketingplatform.google.com/about/analytics/terms/es/";case"fr-FR":return"https://marketingplatform.google.com/about/analytics/terms/fr/";case"de-DE":return"https://marketingplatform.google.com/about/analytics/terms/de/";default:return"https://marketingplatform.google.com/about/analytics/terms/us/"}},TERMS_OF_CAPCUT:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";switch(e){case"tr-TR":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_user_agreement_tr.html";case"ko-KR":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_user_agreement_kr.html";case"pt-BR":return"https://sf19-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_user_agreement_br.html";case"es-LA":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_user_agreement_es.html";case"fr-FR":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_user_agreement_fr.html";case"de-DE":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_user_agreement_de.html";default:return"https://sf21-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_user_agreement_en.html"}},COOKIE_POLICY:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";switch(e){case"tr-TR":return"https://sf19-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_cookie_policy_tr.html";case"ko-KR":return"https://sf19-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_cookie_policy_kr.html";case"pt-BR":return"https://sf19-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_cookie_policy_pt.html";case"es-LA":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_cookie_policy_es.html";case"fr-FR":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_cookie_policy_fr.html";case"de-DE":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_cookie_policy_de.html";default:return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_clause_cookie_policy_en.html"}},MATERIALS_POLICY:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";switch(e){case"de-DE":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_platform_materials_license_agreement_de.html";case"fr-FR":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_platform_materials_license_agreement_fr.html";case"tr-TR":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_platform_materials_license_agreement_tr.html";case"ko-KR":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_platform_materials_license_agreement_kr.html";case"es-LA":return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_platform_materials_license_agreement_es.html";default:return"https://sf16-draftcdn-sg.ibytedtos.com/obj/ies-hotsoon-draft-sg/capcut/via_platform_materials_license_agreement_en.html"}}}},65510:(e,t,o)=>{o.d(t,{l:()=>a});const a={HOME:{PATH:"/",LOCALE_PATH:"/:locale/",MATCHER:"/:locale*/",HAS_LOCALE_PREFIX:!0,INDEXING:!0},WORKSPACE:{CHILD:{MY_DRAFT:{NAME:"my_draft",PATH:"/my-edit",LOCALE_PATH:"/my-edit",MATCHER:"/my-edit",HAS_LOCALE_PREFIX:!1},TEMPLATE:{NAME:"template",PATH:"/template-library",LOCALE_PATH:"/template-library",MATCHER:"/template-library",HAS_LOCALE_PREFIX:!1},MY_FILM:{NAME:"my_file",PATH:"/my-film",LOCALE_PATH:"/my-film",MATCHER:"/my-film",HAS_LOCALE_PREFIX:!1},MY_CLOUD:{NAME:"my_cloud",PATH:"/my-cloud",LOCALE_PATH:"/my-cloud",MATCHER:"/my-cloud",HAS_LOCALE_PREFIX:!1},WORKSPACE_CLOUD:{NAME:"my_cloud",PATH:"/my-cloud/:id",LOCALE_PATH:"/my-cloud/:id",MATCHER:"/my-cloud/:id",HAS_LOCALE_PREFIX:!1},MY_SHARE:{NAME:"my_share",PATH:"/my-share",LOCALE_PATH:"/my-share",MATCHER:"/my-share",HAS_LOCALE_PREFIX:!1}}},LOGIN:{PATH:"/login",LOCALE_PATH:"/:locale/login",MATCHER:"/:locale*/login",HAS_LOCALE_PREFIX:!0,INDEXING:!0},SIGN_UP:{PATH:"/signup",LOCALE_PATH:"/:locale/signup",MATCHER:"/:locale*/signup",HAS_LOCALE_PREFIX:!0,INDEXING:!0},INVITE:{PATH:"/invite",LOCALE_PATH:"/:locale/invite",MATCHER:"/:locale*/invite",HAS_LOCALE_PREFIX:!0},FORGET_PWD:{PATH:"/forget-password",LOCALE_PATH:"/:locale/forget-password",MATCHER:"/:locale*/forget-password",HAS_LOCALE_PREFIX:!0},TEAM_INVITE:{PATH:"/team-invite/:id",LOCALE_PATH:"/:locale/team-invite/:id",MATCHER:"/:locale*/team-invite/:id",HAS_LOCALE_PREFIX:!0},LOGIN_STATUS:{PATH:"/loginStatus",LOCALE_PATH:"/loginStatus",MATCHER:"/loginStatus",HAS_LOCALE_PREFIX:!1},LOGIN_STATUS_SERVER:{PATH:"/lv/v1/user/web/login/third_callback"},COOPERATION:{DETAIL:{PID:"/view/:id",PATH:"/view/:id",LOCALE_PATH:"/view/:id",MATCHER:"/:locale*/view/:id",HAS_LOCALE_PREFIX:!1},EXPERIENCE:{PATH:"/view",LOCALE_PATH:"/view",MATCHER:"/view",HAS_LOCALE_PREFIX:!1},SHARE:{PID:"/share/:id",PATH:"/share/:id",LOCALE_PATH:"/share/:id",MATCHER:"/share/:id",HAS_LOCALE_PREFIX:!1},RENDER:{PID:"/render/:id",PATH:"/render/:id",LOCALE_PATH:"/render/:id",MATCHER:"/render/:id",HAS_LOCALE_PREFIX:!1}},TOKEN_AUTH:{PATH:"/tokenAuth",LOCALE_PATH:"/tokenAuth",MATCHER:"/tokenAuth",HAS_LOCALE_PREFIX:!1},EDITOR:{PATH:"/editor",LOCALE_PATH:"/editor",MATCHER:"/editor",HAS_LOCALE_PREFIX:!1,INDEXING:!0},TIKTOK_AUTH:{PATH:"/tiktokAuth",LOCALE_PATH:"/tiktokAuth",MATCHER:"/tiktokAuth",HAS_LOCALE_PREFIX:!1},PASSPORT_LOGIN:{PATH:"/passport/web/web_login"},COOKIE_SETTINGS:{PATH:"/cookie-settings",LOCALE_PATH:"/:locale/cookie-settings",MATCHER:"/:locale*/cookie-settings",HAS_LOCALE_PREFIX:!0,INDEXING:!0},THIRDPARTY_CLOUD_STORAGE_AUTH:{PATH:"/thirdpartyCloudStorageAuth",LOCALE_PATH:"/thirdpartyCloudStorageAuth",MATCHER:"/thirdpartyCloudStorageAuth",HAS_LOCALE_PREFIX:!1},CAPCUT_APP:{PATH:"/tools/video-editing-app",LOCALE_PATH:"/:locale/tools/video-editing-app",MATCHER:"/:locale*/tools/video-editing-app",HAS_LOCALE_PREFIX:!0,INDEXING:!0},CMS_TOOLS:{PATH:"/tools/:title",LOCALE_PATH:"/:locale/tools/:title",MATCHER:"/:locale*/tools/:title",HAS_LOCALE_PREFIX:!0},CMS_CREATE:{PATH:"/create/:title",LOCALE_PATH:"/:locale/create/:title",MATCHER:"/:locale*/create/:title",HAS_LOCALE_PREFIX:!0},CMS_RESOURCE:{PATH:"/resource/:title",LOCALE_PATH:"/:locale/resource/:title",MATCHER:"/:locale*/resource/:title",HAS_LOCALE_PREFIX:!0},COLLECT_RESOURCE:{NAME:"collect-resource",PATH:"/collect-resource/:token",LOCALE_PATH:"/collect-resource/:token",MATCHER:"/collect-resource/:token",HAS_LOCALE_PREFIX:!1},EDITOR_TOOLS:{TRANSFORM:{PATH:"/editor-tools/transform",LOCALE_PATH:"/editor-tools/transform",MATCHER:"/editor-tools/transform",HAS_LOCALE_PREFIX:!1},CUTOUT:{PATH:"/editor-tools/cutout",LOCALE_PATH:"/editor-tools/cutout",MATCHER:"/editor-tools/cutout",HAS_LOCALE_PREFIX:!1}},TOOlS:{ONLINE:{PATH:"/tools/online-video-editor"},DESKTOP:{PATH:"/tools/desktop-video-editor"}},KEP:{PATH:"/kep/:id",LOCALE_PATH:"/:locale/kep/:id",MATCHER:"/:locale*/kep/:id",HAS_LOCALE_PREFIX:!0},TEMPLATE_DETAIL:{PATH:"/template-detail/:id",LOCALE_PATH:"/:locale/template-detail/:id",MATCHER:"/:locale*/template-detail/:id",HAS_LOCALE_PREFIX:!0},TEMPLATE_DETAIL_KEYWORDS:{PATH:"/template-detail/:key/:id",LOCALE_PATH:"/:locale/template-detail/:key/:id",MATCHER:"/:locale*/template-detail/:key/:id",HAS_LOCALE_PREFIX:!0},TEMPLATE:{PATH:"/templates",LOCALE_PATH:"/:locale/templates",MATCHER:"/:locale*/templates",HAS_LOCALE_PREFIX:!0},EDITOR_TEMPLATE:{PATH:"/editor-template",LOCALE_PATH:"/editor-template",MATCHER:"/editor-template",HAS_LOCALE_PREFIX:!1,INDEXING:!0}}},78158:(e,t,o)=>{o.d(t,{uL:()=>R});var a=o(9887),r=o.n(a),n=o(42147),s=o.n(n),l=o(39786),c=o.n(l),i=o(26318),d=o.n(i),u=o(18267),A=o.n(u),f=o(30043),_=o.n(f),p=o(39333),h=o.n(p),m=o(59851),E=o.n(m),g=o(34567),L=o.n(g),T=o(65510),C=o(47839),y=o(93062);o(84940);const P="capcut_locale";function b(){const e={};return function t(o){if(o instanceof Array)r()(o).call(o,(e=>t(e)));else if(o instanceof Object){if(o.PATH&&void 0!==o.HAS_LOCALE_PREFIX)return void(e[o.PATH]={matcher:o.MATCHER,hasLocalePrefix:o.HAS_LOCALE_PREFIX});t(s()(o))}}(T.l),e}class R{static CookieName=P;options;locale;constructor(e){const t={countryCode:"undefined"!=typeof window?window.__locationCountryCode:void 0,defaultLocale:"en",isServer:!1};this.options=c()({},t,e,{cookieName:P}),this.options.locale&&this._validateLocale(this.options.locale)?this.locale=this.options.locale:this._initLocale(),this._listenCookieChange()}static getLocalPrefix(e){let t;const o=this.getSupportLocales();for(const{locale:a,pathPrefix:r}of o){const o=`/${r}/`;if(d()(e).call(e,o))return t=a,t}return t}static getPathPrefix(e){const t=this.getSupportLocales();for(const{pathPrefix:o}of t){const t=`/${o}/`;if(d()(e).call(e,t))return o}}static isValidLocalPath(e){var t;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{forceLocal:!1};const a=this.getPathPrefix(e),r=b(),n=A()(t=_()(r)).call(t,(e=>{let[t,{matcher:o,hasLocalePrefix:a}]=e;return{hasLocalePrefix:a,route:t,matcher:(0,y.EQ)(t,{decode:decodeURIComponent}),localMatcher:(0,y.EQ)(o,{decode:decodeURIComponent})}}));for(let s=0;se.key))).call(n,(e=>d()(e).call(e,t)))||t;const c=this.getSupportLocales();if(!C.gE[t]&&"en"!==t)return o;for(const{pathPrefix:s}of c)if(s){const e=`/${s}/`;if(d()(o).call(o,e)){o=o.replace(e,"/"),r=!0;break}}if(a||r)return C.gE[t]?`/${C.gE[t]}${o}`:o;const i=b(),u=E()(i),f=A()(u).call(u,(e=>(0,y.EQ)(e,{decode:decodeURIComponent})));for(let s=0;s!e.disable))).call(e,(e=>{let{key:t,text:o,pathPrefix:a}=e;return{locale:t,pathPrefix:a,text:o}}))}getCurrentLocale(){let{localeFix:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{localeFix:!1};return e||this.locale!==C.Gp?e&&this.locale===C.zE.Spanish.key?C.Gp:this.locale:C.zE.Spanish.key}setCurrentLocale(e,t){t?.disableCookie||this._setCookie(e),this.locale=e}getSupportLocales(){return R.getSupportLocales()}formatLocalePath(e){const t={...{forceAddLocalePrefix:!1,locale:this.getCurrentLocale()},...e},{path:o}=t;if(!d()(o).call(o,"/"))throw new Error("path invalid, please confirm its startsWith /");const{locale:a,forceAddLocalePrefix:r}=t;return R.formatRoutePath({locale:a,path:o,forceAddLocalePrefix:r})}_initLocale(){const{cookieName:e,countryCode:t,defaultLocale:o,getBrowserLang:a,cookieGetter:r}=this.options;if(this.isBrowser()){const t=R.getLocalPrefix(window.location.pathname);if(t)return this.locale=t===C.Gp?C.zE.Spanish.key:t,void(r(e)||this._setCookie(t))}const n=r(e);if(n&&this._validateLocale(n))return void(this.locale=n);let s=this._formatLocale(a());if(s||(s=o),!t||!C.JA[t]||C.JA[t]?.locale?.disable)return this.locale=s,void this._setCookie(s);const{locale:l,useBrowserLang:c}=C.JA[t];return c?(this.locale=s,void this._setCookie(s)):(this.locale=l.key,void this._setCookie(l.key))}_setCookie(e){const{cookieName:t,cookieSetter:o,isServer:a}=this.options;o(t,e,a?{maxAge:31536e7,httpOnly:!1,secure:!1,overwrite:!0}:{expires:3650})}_validateLocale(e){var t;return!!e&&Boolean(h()(t=this.getSupportLocales()).call(t,(t=>t.locale===e)))}_formatLocale(e){if(!e)return e;if(this._validateLocale(e))return e;const t=s()(C.zE);for(const o of t){const{matcher:t}=o;if(e.match(t))return o.key}}_listenCookieChange(){}isBrowser(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}}}},t={},o,a,r,n,s,l,c;function i(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=e,i.amdO={},o=[],i.O=(e,t,a,r)=>{if(!t){var n=1/0;for(d=0;d=r)&&Object.keys(i.O).every((e=>i.O[e](t[l])))?t.splice(l--,1):(s=!1,r0&&o[d-1][2]>r;d--)o[d]=o[d-1];o[d]=[t,a,r]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var n={};a=a||[null,r({}),r([]),r(r)];for(var s=2&t&&e;"object"==typeof s&&!~a.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,i.d(o,n),o},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,o)=>(i.f[o](e,t),t)),[])),i.u=e=>769===e?"async/pages-index.0c04baf3.js":277===e?"async/libs-component.b837743a.js":797===e?"async/libs-feedback.43bd7597.js":924===e?"async/924.513c736a.js":908===e?"async/908.e51ed766.js":204===e?"async/204.9272655e.js":255===e?"255.85aa9584.js":"chunk/"+e+"."+{21:"5af078e2",102:"b21bef67",212:"0e779b39",323:"82f48743",371:"05eec7b3",579:"06a58547",584:"8092a54f",793:"615dc53c",851:"f79823a2",957:"24105172"}[e]+".js",i.miniCssF=e=>"async/"+({277:"libs-component",769:"pages-index",797:"libs-feedback"}[e]||e)+"."+{102:"08bc2eda",277:"1acf73da",323:"c4c05ec4",769:"c6d8462c",797:"f4a0a8cd",908:"a63a29b6"}[e]+".css",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},s="CMS:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var r,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),d=0;d{r.onerror=r.onload=null,clearTimeout(f);var a=n[e];if(delete n[e],r.parentNode&&r.parentNode.removeChild(r),a&&a.forEach((e=>e(o))),t)return t(o)},f=setTimeout(A.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=A.bind(null,r.onerror),r.onload=A.bind(null,r.onload),l&&document.head.appendChild(r)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="//sf16-scmcdn-va.ibytedtos.com/obj/static-us/ies/lvweb_os_monorepo/cms_frontend/",l=e=>new Promise(((t,o)=>{var a=i.miniCssF(e),r=i.p+a;if(((e,t)=>{for(var o=document.getElementsByTagName("link"),a=0;a{var r=document.createElement("link");r.rel="stylesheet",r.type="text/css",r.onerror=r.onload=n=>{if(r.onerror=r.onload=null,"load"===n.type)o();else{var s=n&&("load"===n.type?"missing":n.type),l=n&&n.target&&n.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+l+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=s,c.request=l,r.parentNode.removeChild(r),a(c)}},r.href=t,document.head.appendChild(r)})(e,r,t,o)})),c={826:0},i.f.miniCss=(e,t)=>{c[e]?t.push(c[e]):0!==c[e]&&{102:1,277:1,323:1,769:1,797:1,908:1}[e]&&t.push(c[e]=l(e).then((()=>{c[e]=0}),(t=>{throw delete c[e],t})))},(()=>{var e={826:0};i.f.j=(t,o)=>{var a=i.o(e,t)?e[t]:void 0;if(0!==a)if(a)o.push(a[2]);else{var r=new Promise(((o,r)=>a=e[t]=[o,r]));o.push(a[2]=r);var n=i.p+i.u(t),s=new Error;i.l(n,(o=>{if(i.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var r=o&&("load"===o.type?"missing":o.type),n=o&&o.target&&o.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+n+")",s.name="ChunkLoadError",s.type=r,s.request=n,a[1](s)}}),"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,o)=>{var a,r,[n,s,l]=o,c=0;if(n.some((t=>0!==e[t]))){for(a in s)i.o(s,a)&&(i.m[a]=s[a]);if(l)var d=l(i)}for(t&&t(o);ci(93048)));d=i.O(d)})(); //# sourceMappingURL=index.78e6ef28.js.map